package com.java.mapper.custom;

import com.java.entity.Paper;
import com.java.mapper.PaperMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CustomPaperMapper extends PaperMapper {

    int distributeQuestion(@Param("paperId") Integer paperId, @Param("questionIds")List<Integer> questionIds);

    Paper selectPaperQuestionByPaperId(Integer paperId);

    int deletePaperQuestionByPaperId(Integer paperId);

}